namespace FSpec

open System.Resources
open System.Reflection
open System.Globalization

module Resources =
    let private resourceManager = new ResourceManager("Resources.fspec", Assembly.GetExecutingAssembly())
    let private getString name = resourceManager.GetString (name, System.Globalization.CultureInfo.CurrentCulture)

    let TheValuesShouldBeEqual = getString "TheValuesShouldBeEqual"
    let TheValuesShouldNotBeEqual = getString "TheValuesShouldNotBeEqual"
    let TheValueShouldBeTrue = getString "TheValueShouldBeTrue"
    let TheValueShouldNotBeTrue = getString "TheValueShouldNotBeTrue"
    let TheValueShouldBeFalse = getString "TheValueShouldBeFalse"
    let TheValueShouldNotBeFalse = getString "TheValueShouldNotBeFalse"
    let TheValueShouldBeGreaterThanThis = getString "TheValueShouldBeGreaterThanThis"
    let TheValueShouldNotBeGreaterThanThis = getString "TheValueShouldNotBeGreaterThanThis"
    let TheValueShouldBeGreaterThanOrEqualToThis = getString "TheValueShouldBeGreaterThanOrEqualToThis"
    let TheValueShouldNotBeGreaterThanOrEqualToThis = getString "TheValueShouldNotBeGreaterThanOrEqualToThis"
    let TheValueShouldBeLessThanThis = getString "TheValueShouldBeLessThanThis"
    let TheValueShouldNotBeLessThanThis = getString "TheValueShouldNotBeLessThanThis"
    let TheValueShouldBeLessThanOrEqualToThis = getString "TheValueShouldBeLessThanOrEqualToThis"
    let TheValueShouldNotBeLessThanOrEqualToThis = getString "TheValueShouldNotBeLessThanOrEqualToThis"
    let TheValuesShouldBeTheSame = getString "TheValuesShouldBeTheSame"
    let TheValuesShouldNotBeTheSame = getString "TheValuesShouldNotBeTheSame"
    let TheCollectionShouldContainTheElement_0_ = getString "TheCollectionShouldContainTheElement_0_"
    let TheCollectionShouldNotContainTheElement_0_ = getString "TheCollectionShouldNotContainTheElement_0_"
    let TheStringShouldContainTheSubstring_0_ = getString "TheStringShouldContainTheSubstring_0_"
    let TheStringShouldNotContainTheSubstring_0_ = getString "TheStringShouldNotContainTheSubstring_0_"
    let TheStringShouldStartWith_0_ = getString "TheStringShouldStartWith_0_"
    let TheStringShouldNotStartWith_0_ = getString "TheStringShouldNotStartWith_0_"
    let TheStringShouldEndWith_0_ = getString "TheStringShouldEndWith_0_"
    let TheStringShouldNotEndWith_0_ = getString "TheStringShouldNotEndWith_0_"
    let TheStringShouldMatchARegularExpression = getString "TheStringShouldMatchARegularExpression"
    let TheStringShouldNotMatchARegularExpression = getString "TheStringShouldNotMatchARegularExpression"
    let TheValueShouldBeNull = getString "TheValueShouldBeNull"
    let TheValueShouldNotBeNull = getString "TheValueShouldNotBeNull"
    let TheCollectionShouldBeEmpty = getString "TheCollectionShouldBeEmpty"
    let TheCollectionShouldNotBeEmpty = getString "TheCollectionShouldNotBeEmpty"
    let TheExpressionShouldThrowA_0_ = getString "TheExpressionShouldThrowA_0_"
    let TheValueShouldBeWithin_0_And_1_Inclusive = getString "TheValueShouldBeWithin_0_And_1_Inclusive"
    let TheExpressionShouldEvaluateToTrue = getString "TheExpressionShouldEvaluateToTrue"
    let TheValueShouldBeWithin_0_And_1_Exclusive = getString "TheValueShouldBeWithin_0_And_1_Exclusive"
    let TheValueShouldNoBeWithin_0_And_1_Exclusive = getString "TheValueShouldNoBeWithin_0_And_1_Exclusive"
    let TheValueShouldNoBeWithin_0_And_1_Inclusive = getString "TheValueShouldNoBeWithin_0_And_1_Inclusive"
    let TheExpressionShouldNotThrowA_0_ = getString "TheExpressionShouldNotThrowA_0_"
    let TheObjectShouldInheritFromType_0_ = getString "TheObjectShouldInheritFromType_0_"
    let TheObjectShouldNotInheritFromType_0_ = getString "TheObjectShouldNotInheritFromType_0_"
    let TheExpressionShouldFailWithTheMessage_0_ = getString "TheExpressionShouldFailWithTheMessage_0_"
    let TheExpressionShouldEvaluateToFalse = getString "TheExpressionShouldEvaluateToFalse"
    let TheExpressionShouldNotFailWithTheMessage_0_ = getString "TheExpressionShouldNotFailWithTheMessage_0_"
    let TheValueShouldBeWithin_0_of_1_ = getString "TheValueShouldBeWithin_0_of_1_"
    let TheValueShouldNotBeWithin_0_of_1_ = getString "TheValueShouldNotBeWithin_0_of_1_"
